package edu.lsnu.equipment_management_system.service;

import edu.lsnu.equipment_management_system.exception.NoPowerException;
import edu.lsnu.equipment_management_system.pojo.domain.PageBean;
import edu.lsnu.equipment_management_system.pojo.vo.out.information_list.used_using.DeviceVo;
import edu.lsnu.equipment_management_system.pojo.vo.out.information_list.used_using.EquipmentVo;

import javax.servlet.http.HttpSession;

/**
 * @author mzywucai
 * @Description
 * @date 2019/1/4
 */
public interface SearchEquipmentInformationService {
    /** 获取查询的设备的列表 */
    PageBean<DeviceVo> searchEquipment(Integer currentPage, String condition, String userNo);
    /** 普通用户：获取查询设备的详细信息 */
    EquipmentVo userGetEquipmentDetail(String equipmentNo, HttpSession session) throws NoPowerException;
    /** 管理员用户：获取查询设备的详细信息 */
    EquipmentVo adminGetEquipmentDetail(String equipmentNo);

}
